CameraSetSafeAreaInsets

@Serializable
data class CameraSetSafeAreaInsets(val bottom: Double? = null, val left: Double? = null, val right: Double? = null, val top: Double? = null)

An object defining a number of pixels from the top, left, bottom, and right of the screen. Only the area within the padding defined by these pixels is considered safe. Used with MPICameraManager.setSafeAreaInsets

Constructors

Link copied to clipboard
constructor(bottom: Double? = null, left: Double? = null, right: Double? = null, top: Double? = null)

Properties

Link copied to clipboard
val bottom: Double? = null

Safe area to focus on targets at the bottom of the screen.

Link copied to clipboard
val left: Double? = null

Safe area to focus on targets at the left of the screen.

Link copied to clipboard
val right: Double? = null

Safe area to focus on targets at the right of the screen.

Link copied to clipboard
val top: Double? = null

Safe area to focus on targets at the top of the screen.